package com.example.netty.wechat;

import com.alibaba.fastjson.JSON;

/**
 * TODO: 这里要写注释的!
 */
public class User {
    public String requestId;
    public String name;
    public String avatar;

    public User(){}

    public User(String requestId,String name,String avatar){
        this.requestId= requestId;
        this.name= name;
        this.avatar= avatar;
    }
    public User(String requestId,String name){
        this.requestId= requestId;
        this.name= name;
    }

    @Override public String toString() {
        return JSON.toJSONString(this);
    }
}
